package com.solute.web.main.result.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.solute.domain.SolutionVO;
import com.solute.web.main.result.dao.MainResultDao;

@Service
public class MainResultService {
	
	private @Autowired MainResultDao dao;
	
	public List<?> search(String searcyValue) {
		String []params = searcyValue.split("\\p{Space}");
		return dao.selectSolutionsByTag(params);
	}
}
